package com.suneee.refund.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.GenerationType;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;

@Entity
@Table(name = "t_refund_check_info")
public class RefundCheckInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1932659663070885652L;

	/**
	 * 主键id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "check_id", nullable = false)
	private Integer checkId;

	/**
	 * 买家快递单号
	 */
	@Column(name = "buyer_package_code")
	private String buyerPackageCode;

	/**
	 * 买家投递公司
	 */
	@Column(name = "logistics_company")
	private String logisticsCompany;

	/**
	 * 买家投递公司编码
	 */
	@Column(name = "logistics_code")
	private String logisticsCode;

	/**
	 * 商品价值承担
	 */
	@Column(name = "value_bear_type")
	private String valueBearType;

	/**
	 * 商品编码
	 */
	@Column(name = "sku_code")
	private String outerSkuId;

	/**
	 * 商品名称
	 */
	@Column(name = "sku_name")
	private String title;

	/**
	 * 商品数量
	 */
	@Column(name = "amount")
	private Integer num;

	/**
	 * 实际收货数量
	 */
	@Column(name = "real_amount")
	private Integer realAmount;

	/**
	 * 验收结论
	 */
	@Column(name = "check_result")
	private String checkResult;

	/**
	 * 备注
	 */
	@Column(name = "remark")
	private String remark;

	/**
	 * 验收凭证
	 */
	@Column(name = "check_pics")
	private String checkPics;

	/**
	 * 记录生成时间
	 */
	@Column(name = "created_at")
	private Timestamp createdAt;

	/**
	 * 记录更新时间
	 */
	@Column(name = "updated_at")
	private Timestamp updatedAt;

	/**
	 * 操作人员id
	 */
	@Column(name = "opt_user_id")
	private String optUserId;

	/**
	 * 退款编号
	 */
	@Column(name = "refund_id")
	private String refundId;
	
	@Transient
	private Integer tGoodsNum;
	
	@Transient
	private Long addressId;

	public Integer getCheckId() {
		return checkId;
	}

	public void setCheckId(Integer checkId) {
		this.checkId = checkId;
	}

	public String getBuyerPackageCode() {
		return buyerPackageCode;
	}

	public void setBuyerPackageCode(String buyerPackageCode) {
		this.buyerPackageCode = buyerPackageCode;
	}

	public String getLogisticsCompany() {
		return logisticsCompany;
	}

	public void setLogisticsCompany(String logisticsCompany) {
		this.logisticsCompany = logisticsCompany;
	}

	public String getLogisticsCode() {
		return logisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode;
	}

	public String getValueBearType() {
		return valueBearType;
	}

	public void setValueBearType(String valueBearType) {
		this.valueBearType = valueBearType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getOuterSkuId() {
		return outerSkuId;
	}

	public void setOuterSkuId(String outerSkuId) {
		this.outerSkuId = outerSkuId;
	}

	public Integer getRealAmount() {
		return realAmount;
	}

	public void setRealAmount(Integer realAmount) {
		this.realAmount = realAmount;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getCheckResult() {
		return checkResult;
	}

	public void setCheckResult(String checkResult) {
		this.checkResult = checkResult;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCheckPics() {
		return checkPics;
	}

	public void setCheckPics(String checkPics) {
		this.checkPics = checkPics;
	}

	public Timestamp getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Timestamp createdAt) {
		this.createdAt = createdAt;
	}

	public Timestamp getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Timestamp updatedAt) {
		this.updatedAt = updatedAt;
	}

	public String getOptUserId() {
		return optUserId;
	}

	public void setOptUserId(String optUserId) {
		this.optUserId = optUserId;
	}

	public String getRefundId() {
		return refundId;
	}

	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}

	public Integer gettGoodsNum() {
		return tGoodsNum;
	}

	public void settGoodsNum(Integer tGoodsNum) {
		this.tGoodsNum = tGoodsNum;
	}

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

}
